<?php
/**
 * 系统相关
 * 
 * @package ews
 * @ews Enterprise WorkShop
 * @version 1.0 alpha
 * @since 2011-05-03
 * @author monkee
 */

class indexApp extends app
{
	public function index(){
		$feedobj = & $this->getModel('feed');
		$feed = $feedobj->get_feed($this->user_id);
		
		$noticeobj = & $this->getModel('notice');
		$notice = $noticeobj->get_unread($this->user_id);
		return array(
			'feed' => $feed,
			'notice' => $notice
		);
	}
}
?>